IBM Support

PK69362: EJBDEPLOY FAILS WITH UNEXPECTED EXCEPTION - ERROR GENERATING RMI CODE, MUTIPLE ERROR: CLASS NOT FOUND.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • EJBDeploy fails with the following errors associated with ejb
    references:
    
    [*Error] An unexpected exception was thrown.  Halting execution.
    Shutting down workbench.
    
    Error generating RMI code: RMIC command failed on project:
    WsaEJBDeployUtility with message:
    
    error: Class com.test.myservice.ScoringService not found.
    
    error: Class ScoringTest contains an invalid return type.
    
    error: Class com.test.myservice.ejb.ScoringTest contains
    an invalid argument type in method getMyPoints.
    3 errors
    
    Further details have  been recorded in the .log file in
    C:\temp\99329383\.metadata.
    
    
    The .log file contains the following error:
    
    !ENTRY org.eclipse.core.jobs 4 2 2008-07-17 14:49:16.781
    !MESSAGE An internal error occurred during: "Workspace migration
    Job".
    !STACK 0
    java.lang.NoClassDefFoundError:
    org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider
     at
    com.ibm.etools.common.internal.migration.WorkspaceMigrationListe
    ner$Work
    spaceMigrationJob.run(WorkspaceMigrationListener.java:91)
     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server v6.1.                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: EJBDeploy fails to add user defined     *
    *                      JAR files to the classpath of RMIC      *
    *                      for EJB References                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If an Enterprise Application Archive contains a web module
    that contains an enterprise beans reference then EJBDeploy will
    generate the RMIC code for this reference and store it in a
    JAR file within that web module.  However, if that enterprise
    beans reference requires class files that exist in a JAR file
    that is passed as an argument to the EJBDeploy tool via the
    classpath argument(-cp) then the RMIC process will fail
    because the classes in that JAR will not be found.
    

Problem conclusion

  • The JAR files passed to EJBDeploy via the classpath argument
    (-cp) will now be added to the RMIC process used for
    enterprise beans references.
    
    The fix for this APAR is currently targeted for inclusion in
    the WebSphere Application Server Toolkit fix pack 6.1.0.23.
    Please refer to the following Recommended Updates page for
    WebSphere Application Server delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK69362

  • Reported component name

    WEBAPP SERVER A

  • Reported component ID

    5724J0820

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-07-22

  • Closed date

    2008-07-24

  • Last modified date

    2008-09-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 October 2021